package com.igoal.admin.service;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.igoal.dto.MemberMailDTO;

public interface MemberMailService { 
	@Transactional(readOnly=false)
	public void save(final List<String> userRoles, final String name, final String subject, final String body, final String scheduledDate, final int priority, final boolean isIgoalDB, final boolean isMarketingDB);
	
	@Transactional(readOnly=false)
	public MemberMailDTO save(final MemberMailDTO memberMailDTO);
	
	@Transactional(readOnly=false)
	public List<MemberMailDTO> getAll();
	
	@Transactional(readOnly=true)
	public MemberMailDTO get(Long id);
}
